#pragma once
#include <iostream>
#include <string>
#include <fstream>
class Util
{
public:
    static bool ReadFile(const std::string &path, std::string *out)
    {
        //
        std::fstream in(path);
        if (!in.is_open())
            return false;
        std::string line;
        while (std::getline(in, line))
        {
            *out += line;
        }
        in.close();
        return true;
    }
};